package com.guigui.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigui.common.utils.PageUtils;
import com.guigui.gulimall.product.entity.SpuImagesEntity;

import java.util.List;
import java.util.Map;

/**
 * spu图片
 *
 * @author xin
 * @email 806748502@qq.com
 * @date 2021-07-23 14:10:32
 */
public interface SpuImagesService extends IService<SpuImagesEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 通过spuId批量保存图片url
     * @param spuId
     * @param imagesUrl
     */
    void saveImages(Long spuId, List<String> imagesUrl);
}

